/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package test.ac.za.designPaternTest.structural.decorator;

import ac.za.designPatterns.structural.decorator.*;
import org.junit.*;


/**
 *
 * @author user
 */
public class Decorator {
    
    public Decorator() {
    }

    @BeforeClass
    public static void setUpClass() throws Exception {
    }

    @AfterClass
    public static void tearDownClass() throws Exception {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }
    // TODO add test methods here.
    // The methods must be annotated with annotation @Test. For example:
    //
     @Test
     public void decorator() {
     Animal animal = new LivingAnimal();
     
     Assert.assertNotNull(animal);
     animal.describe();
     
     /*animal = new LegDecorator(animal);
     animal.describe();
     animal = new WingDecorator(animal);
     animal.describe();
     animal = new GrowlDecorator(animal);
     animal = new GrowlDecorator(animal); 
     animal.describe();*/
     }
}
